package com.portal.incurridos.persistence.wall;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author Alan D�vila
 * e-mail ustargab@gmail.com
 * date 08/11/2013 22:28:26
 */
@Entity
@Table(schema = "app", name = "comment")
@SequenceGenerator(sequenceName = "app.comment_comment_seq", name = "idgen", allocationSize = 1)
public class Comment {

	/**
	 * Identifier.
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "idgen")
	private Long comment;
	/**
	 * Identifier of card.
	 */
	private Long card;
	/**
	 * Description of comment.
	 */
	private String description;
	/**
	 * Create user of comment.
	 */
	private String createuser;
	/**
	 * Last update user of comment.
	 */
	private String lastupdateuser;
	/**
	 * Create date of comment.
	 */
	private Date createdate;
	/**
	 * Las update of comment.
	 */
	private Date lastupdate;
	/**
	 * State of comment.
	 */
	private Integer state;
	/**
	 * @return the comment
	 */
	public final Long getComment() {
		return comment;
	}
	/**
	 * @param commentIn the comment to set
	 */
	public final void setComment(final Long commentIn) {
		this.comment = commentIn;
	}
	/**
	 * @return the card
	 */
	public final Long getCard() {
		return card;
	}
	/**
	 * @param cardIn the card to set
	 */
	public final void setCard(final Long cardIn) {
		this.card = cardIn;
	}
	/**
	 * @return the description
	 */
	public final String getDescription() {
		return description;
	}
	/**
	 * @param descriptionIn the description to set
	 */
	public final void setDescription(final String descriptionIn) {
		this.description = descriptionIn;
	}
	/**
	 * @return the createUser
	 */
	public final String getCreateUser() {
		return createuser;
	}
	/**
	 * @param createUserIn the createUser to set
	 */
	public final void setCreateUser(final String createUserIn) {
		this.createuser = createUserIn;
	}
	/**
	 * @return the lastUpdateUser
	 */
	public final String getLastUpdateUser() {
		return lastupdateuser;
	}
	/**
	 * @param lastUpdateUserIn the lastUpdateUser to set
	 */
	public final void setLastUpdateUser(final String lastUpdateUserIn) {
		this.lastupdateuser = lastUpdateUserIn;
	}
	/**
	 * @return the createDate
	 */
	public final Date getCreateDate() {
		return createdate;
	}
	/**
	 * @param createDateIn the createDate to set
	 */
	public final void setCreateDate(final Date createDateIn) {
		this.createdate = createDateIn;
	}
	/**
	 * @return the lastUpdate
	 */
	public final Date getLastUpdate() {
		return lastupdate;
	}
	/**
	 * @param lastUpdateIn the lastUpdate to set
	 */
	public final void setLastUpdate(final Date lastUpdateIn) {
		this.lastupdate = lastUpdateIn;
	}
	/**
	 * @return the state
	 */
	public final Integer getState() {
		return state;
	}
	/**
	 * @param stateIn the state to set
	 */
	public final void setState(final Integer stateIn) {
		this.state = stateIn;
	}

}
